package Month09.day0919.part_1;

public class Cat extends Animal{


    public Cat(String name, int age, String gender){
        super(name,age,gender);
        this.name = name;
        this.age = age;
        this.gender = gender;
    }

    public void catEat(){
        System.out.println(name + "吃鱼");
    }
    //Cat类
    public void Demo(){
        System.out.println("Cat--Demo");
    }
}
